package net.sxnic.ugr.website;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import net.sxinfo.core.entity.AbstractEntity;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;


@Entity
@Table(name="ugr_website")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Website extends AbstractEntity{

	private static final long serialVersionUID = -683803950012480799L;
	
	/**
	 * 编码 小写 kjtoa
	 */
	@Column(nullable=false,unique=true)
	private String code;
	
	/**
	 * 全名
	 */
	@Column(nullable=false)
	private String name;
	
	/**
	 * 简称
	 */
	private String shortName;
	
	/**
	 * 编码code加下划线 kjtoa_
	 */
	private String suffix;
	
	private String domain;
	
	private String mainPage;
	
	private String longinPage;
	
	private String linkMan;
	
	private String linkPhone;
	
	private String linkEmail;
	
	/**
	 *认证方式
	 */
	private String authenticationType;
	
	/**
	 * 授权方式
	 */
	private String grantType;
	
	/**
	 * 通讯方式
	 */
	private String communicateType;

	public Website() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	public String getLinkPhone() {
		return linkPhone;
	}

	public void setLinkPhone(String linkPhone) {
		this.linkPhone = linkPhone;
	}

	public String getLinkEmail() {
		return linkEmail;
	}

	public void setLinkEmail(String linkEmail) {
		this.linkEmail = linkEmail;
	}

	public String getAuthenticationType() {
		return authenticationType;
	}

	public void setAuthenticationType(String authenticationType) {
		this.authenticationType = authenticationType;
	}

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	public String getCommunicateType() {
		return communicateType;
	}

	public void setCommunicateType(String communicateType) {
		this.communicateType = communicateType;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMainPage() {
		return mainPage;
	}

	public void setMainPage(String mainPage) {
		this.mainPage = mainPage;
	}

	public String getLonginPage() {
		return longinPage;
	}

	public void setLonginPage(String longinPage) {
		this.longinPage = longinPage;
	}
	
	
}
